package com.gmu.domain.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import lombok.*;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @auther verb-calming
 * @date 2022/8/10 0:27
 */
@Data
@ExcelIgnoreUnannotated
@NoArgsConstructor
@AllArgsConstructor
public class TblOrderVo {

    @ExcelProperty(value = "姓名")
    private String name;

    @ExcelProperty(value = "活动名称")
    @ColumnWidth(20)
    private String activityName;

    @ExcelProperty(value = "出发地址")
    @ColumnWidth(20)
    private String leaveAddress;

    @ExcelProperty(value = "采样地址")
    @ColumnWidth(20)
    private String addressName;

    @ExcelProperty(value = "窗口号")
    private String addressNumber;

    @ExcelProperty(value = "预约开始时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ColumnWidth(20)
    private Date orderBeginTime;

    @ExcelProperty(value = "预约结束时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ColumnWidth(20)
    private Date orderEndTime;

    @ExcelProperty(value = "预约情况")
    private String orderSta;

    @ExcelProperty(value = "预约状态")
    private String sta;

    private Integer status;

    private Integer orderStatus;

    private Integer unitsId;
}
